<template>
  <div class="loading-container">
    <!-- 加载动画 -->
    <div class="loading-spinner"></div>
    <!-- 加载提示信息 -->
    <p class="loading-text">正在加载，请稍候...</p>
  </div>
</template>
<script>
export default {
  name: 'LoadingIndex',
}
</script>

<style scoped>
.loading-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  height: 100%;
  background-color: #f0f0f0;
}

.loading-spinner {
  border: 16px solid #f3f3f3;
  border-top: 16px solid #3498db;
  border-radius: 50%;
  width: 120px;
  height: 120px;
  animation: spin 2s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.loading-text {
  margin-top: 20px;
  font-size: 18px;
  color: #333;
}
</style>
